feat: Add queue tasks#702
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request introduces a database-backed task queue system to handle one-off background jobs, such as asynchronous email delivery, which are drained by a per-minute cron job with retries, exponential backoff, and optional Redis locking. It also adds Admin CP monitoring views, documentation, and unit tests. The review feedback highlights a critical database constraint violation where the updatedAt column lacks a default value on insert, an issue where QueueModel.dispatch overrides custom task maxAttempts configurations, and a recommendation to always clear the reservedAt timestamp once a task finishes processing.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Improving Documentation
pnpm lint:fixto fix formatting issues before opening the PR.Description
What?
Why?